package com.xxc.response.anotation

import com.xxc.response.result.PlatformResult
import com.xxc.response.result.Result

import java.lang.annotation.*
import java.util.*
import kotlin.reflect.KClass

/**
 * @author xxc、
 * @param value 响应类型
 */
@Target(AnnotationTarget.CLASS, AnnotationTarget.FILE, AnnotationTarget.FUNCTION, AnnotationTarget.PROPERTY_GETTER, AnnotationTarget.PROPERTY_SETTER)
@Retention(AnnotationRetention.RUNTIME)
@MustBeDocumented
annotation class ResponseResult(val value: KClass<out Result> = PlatformResult::class)
